package com.casic.modules.ddqiye.service.impl;

import com.casic.common.base.service.impl.BaseServiceImpl;
import com.casic.modules.ddqiye.dao.QyxxDdDao;
import com.casic.modules.ddqiye.entity.QyxxDdEntity;
import com.casic.modules.ddqiye.service.QyxxDdService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service("qyxxDdService")
public class QyxxDdServiceImpl extends BaseServiceImpl<QyxxDdDao,QyxxDdEntity>  implements QyxxDdService {
    @Autowired
    public void setDao(QyxxDdDao qyxxDdDao) {
        this.dao=qyxxDdDao;
    }

    @Override
    public String findQydmByDeptId(String deptId) {
        return dao.findQydmByDeptId(deptId);
    }

    @Override
    public String[] findUserIdsByQyIds(String[] ids) {
        return dao. findUserIdsByQyIds(ids);
    }

    @Override
    public QyxxDdEntity findDdqyByQydm(String ddQydm) {
        return dao.findDdqyByQydm(ddQydm);
    }

    @Override
    public void removeByIds(String[] ids) {
        dao.removeByIds(ids);
    }
}
